<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../org/jquery.min.js"></script>
</head>
<body>
<ul id="data">
</ul>
</body>
</html>
<script>
    $.get('1.php', function (res) {
        //onsole.log(res);
        $(res).each(function (i) {
            html="<li>"+res[i].name+"</li>";
            $('#data').append(html);
        })
    }, 'json');
</script>